body {
background-color: #151515;
display: grid;
place-items: center;
height: 100vh;
}
.ghost {
animation: float 3s ease-out infinite;
}
@keyframes float {
50% {
transform: translate(0, 20px);
}
}
.shadowFrame {
width: 130px;
margin-top: 15px;
}
.shadow {
animation: shrink 3s ease-out infinite;
transform-origin: center center;
}
.shadow ellipse {
transform-origin: center center;
}
@keyframes shrink {
0% {
width: 90%;
margin: 0 5%;
}
50% {
width: 60%;
margin: 0 18%;
}
100% {
width: 90%;
margin: 0 5%;
}
}